package cn.ht.jywrwater.module.ht.controller.admin.dataImport.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false) // 设置 chain = false，避免用户导入有问题
public class TownImportExcelVO {

    @ExcelProperty("编码")
    private String townCode;

    @ExcelProperty("名称")
    private String townName;

    @ExcelProperty("详细地址")
    private String address;

    @ExcelProperty("人口数")
    private Double householdPerson;

    @ExcelProperty("耕地面积（Km²）")
    private Double area;

}
